package com.ruoyi.jx.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.jx.domain.MemberBalanceRecord;
import com.ruoyi.jx.domain.MemberBalanceRecordVO;

/**
 * 会员余额Mapper接口
 * 
 * @author p
 * @date 2021-10-07
 */
public interface MemberBalanceRecordMapper 
{
    /**
     * 查询会员余额
     * 
     * @param id 会员余额ID
     * @return 会员余额
     */
    public MemberBalanceRecord selectMemberBalanceRecordById(Long id);

    /**
     * 查询会员余额列表
     * 
     * @param memberBalanceRecord 会员余额
     * @return 会员余额集合
     */
    public List<MemberBalanceRecord> selectMemberBalanceRecordList(MemberBalanceRecord memberBalanceRecord);

    List<MemberBalanceRecordVO> selectMemberBalanceRecordListMap(Map<String,Object> params);

    /**
     * 新增会员余额
     * 
     * @param memberBalanceRecord 会员余额
     * @return 结果
     */
    public int insertMemberBalanceRecord(MemberBalanceRecord memberBalanceRecord);

    /**
     * 修改会员余额
     * 
     * @param memberBalanceRecord 会员余额
     * @return 结果
     */
    public int updateMemberBalanceRecord(MemberBalanceRecord memberBalanceRecord);

    /**
     * 删除会员余额
     * 
     * @param id 会员余额ID
     * @return 结果
     */
    public int deleteMemberBalanceRecordById(Long id);

    /**
     * 批量删除会员余额
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteMemberBalanceRecordByIds(Long[] ids);
}
